//
//  TopMenu.swift
//  jiaoyi
//
//  Created by wjk on 2018/12/25.
//  Copyright © 2018 wjk. All rights reserved.
//

import BTNavigationDropdownMenu

class TopMenu: BTNavigationDropdownMenu {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    
    public convenience init(navigationController: UINavigationController? = nil, containerView: UIView = UIApplication.shared.keyWindow!, title: String, items: [String]) {
        
        self.init(navigationController: navigationController, containerView: containerView, title: BTTitle.title(title), items: items)
        
//        self.didTitleAtHandler
    }
    
    func menuButtonTapped(_ sender: UIButton) {
//        self.isShown == true ? hideMenu() : showMenu()
    }
}
